﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace TelemetryMobileService
{
    //Note: To change the table from the Azure Mobile Service (ie Same service and therefore same app key) ..
    // Just change the class name here using Refactoring
    public class Telemetry2
    {
        //public string Id { get; set; }

        [JsonProperty(PropertyName = "id")]
        public int Id { get; set; }

        [JsonProperty(PropertyName = "sensor")]
        public string Sensor { get; set; }

        [JsonProperty(PropertyName = "complete")]
        public bool Complete { get; set; }

        [JsonProperty(PropertyName = "value")]
        public int Value { get; set; }
    }
}
